package com.tanhua.dubbo.api.db;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tanhua.domain.db.SurveyDetails;

/**
 * 试卷api
 * 对于试卷的增删改查
 * @author Huo
 * @date 2021/07/17 17:07:28
 */
public interface PaperApi {
    Page<SurveyDetails> queryPaper(Integer page, Integer pageSize);

    void savePaper(SurveyDetails surveyDetails);

    SurveyDetails queryPaperById(Integer paperId);

    void update(SurveyDetails surveyDetails);

    void delete(Integer paperId);
}
